#!/bin/sh
GAMEDIR=.

HASSPEECHD=0
HASGTK=0

if ldconfig -p | grep libspeechd > /dev/null ; then HASSPEECHD=1 ; fi
if ldconfig -p | grep libgtk > /dev/null ; then HASGTK=1 ; fi

if [ $HASSPEECHD -eq 0 ] ; then echo "\033[0;41mWarning: libspeechd not found! Game may not work.\033[0m" ; fi
if [ $HASGTK -eq 0 ] ; then echo "\033[0;41mWarning: libgtk not found! Game may not work.\033[0m" ; fi

LD_LIBRARY_PATH=$GAMEDIR/lib $GAMEDIR/soledad $@
